/*  -- 项目通用样式 -- */
@font-face {
	font-family: CustomFont;
	src: url('./iconfont/iconfont.ttf');
}
body,
html {
    color: #333333;
    font-size: 26rpx;
}

.cursor-pointer {
    cursor: pointer;
}

.no-wrap {
    white-space: nowrap;
}

.text-cut {
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

.text-cut-2 {
    white-space: normal !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.text-underline {
    text-decoration: underline;
}

/* ==================
          布局
 ==================== */

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

/*  -- flex弹性布局 -- */

.flex {
    display: flex;
}

.basis-20 {
    flex-basis: 20%;
}

.basis-40 {
    flex-basis: 40%;
}

.basis-50 {
    flex-basis: 50%;
}

.basis-60 {
    flex-basis: 60%;
}

.basis-80 {
    flex-basis: 80%;
}

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.flex-3 {
    flex: 3;
}

.flex-4 {
    flex: 4;
}

.flex-5 {
    flex: 5;
}

.flex-direction {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

.align-center {
    align-items: center;
}

.align-stretch {
    align-items: stretch;
}

.self-start {
    align-self: flex-start;
}

.self-center {
    align-self: flex-center;
}

.self-end {
    align-self: flex-end;
}

.self-stretch {
    align-self: stretch;
}

.align-stretch {
    align-items: stretch;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}
